package com.zatech.cgnci.project.vo;

import com.zatech.cgnci.project.entity.CgnciReinsurancePaymentPlanDO;
import com.zatech.cgnci.project.entity.CgnciReinsurancePremiumDetailsDO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class ReinsurancePremiumBillDetailsVO {

    @ApiModelProperty("自增编号")
    private Long id;

    @ApiModelProperty("保单号")
    private String policyNumber;

    @ApiModelProperty("合约类型")
    private String contractType;

    @ApiModelProperty("再保分出人")
    private String cedingCompany;

    @ApiModelProperty("再保接收人")
    private String receiver;

    @ApiModelProperty("项目名称")
    private String projectName;

    @ApiModelProperty("再保经纪人")
    private String reinsuranceBroker;

    @ApiModelProperty("保险期限")
    private String policyTerm;

    @ApiModelProperty("再保手续费率")
    private BigDecimal procedureRate;

    @ApiModelProperty("险种")
    private String policyType;

    @ApiModelProperty("账单编号")
    private String invoiceNumber;

    @ApiModelProperty("账单币种")
    private String currency;

    @ApiModelProperty("汇率")
    private BigDecimal fxRate;

    @ApiModelProperty("账单接收人")
    private String billRecipient;

    @ApiModelProperty("账单期")
    private String billingCycle;
    @ApiModelProperty("入账日期")
    private Date postingDate;
    @ApiModelProperty("应收付日期")
    private Date dueDate;

    @ApiModelProperty("实收付日期")
    private Date actualPaymentDate;

    @ApiModelProperty("收付方向")
    private String direction;

    @ApiModelProperty("总金额")
    private BigDecimal collectAmount;

    @ApiModelProperty("账单状态")
    private String status;

    @ApiModelProperty("UPM编号")
    private String upmNumber;

    @ApiModelProperty("临分保费账单明细")
    List<CgnciReinsurancePremiumDetailsDO> premiumDetailsDOS;

    @ApiModelProperty("缴费计划")
    List<CgnciReinsurancePaymentPlanDO> PaymentPlanDOS;
}
